package com.tsd.system.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * 注册用户绑定表
 *
 * @author Hillpool
 * @date 2022/06/30 14:05:24
 */
@ApiModel(description = "注册用户绑定表")
public class SysRegUserBind implements Serializable {

    @ApiModelProperty(value = "主键", example = "1")
    private Long id;

    @ApiModelProperty(value = "用户的sid", example = "1")
    private String reg_user_sid;

    @ApiModelProperty(value = "绑定的目标sid", example = "1")
    private String target_sid;

    @ApiModelProperty(value = "目标类型：sys_user,sys_client，sys_client_operator,sys_reg_user", example = "1")
    private String target_type;

    @ApiModelProperty(value = "是否管理员，0-否，1-是", example = "1")
    private Integer is_admin;

    @ApiModelProperty(value = "绑定时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date bind_date;

    @ApiModelProperty(value = "解绑时间", example = "1")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", locale = "zh", timezone = "GMT+8")
    private Date dr_date;

    @ApiModelProperty(value = "删除标志，0-未删除，1-已删除", example = "1")
    private Integer dr;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getReg_user_sid() {
        return this.reg_user_sid;
    }

    public void setReg_user_sid(String reg_user_sid) {
        this.reg_user_sid = reg_user_sid;
    }

    public String getTarget_sid() {
        return this.target_sid;
    }

    public void setTarget_sid(String target_sid) {
        this.target_sid = target_sid;
    }

    public String getTarget_type() {
        return this.target_type;
    }

    public void setTarget_type(String target_type) {
        this.target_type = target_type;
    }

    public Integer getIs_admin() {
        return this.is_admin;
    }

    public void setIs_admin(Integer is_admin) {
        this.is_admin = is_admin;
    }

    public Date getBind_date() {
        return this.bind_date;
    }

    public void setBind_date(Date bind_date) {
        this.bind_date = bind_date;
    }

    public Date getDr_date() {
        return this.dr_date;
    }

    public void setDr_date(Date dr_date) {
        this.dr_date = dr_date;
    }

    public Integer getDr() {
        return this.dr;
    }

    public void setDr(Integer dr) {
        this.dr = dr;
    }


}
